﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace MvcMall.AdminPortal.Controllers.SysSettings.ViewModels
{
    public class SysSettingModel
    {
        /// <summary>
        /// 系统配置ID
        /// </summary>
        public int? SysSettingId { get; set; }

        /// <summary>
        /// 网站关键字(用于SEO)
        /// </summary> 
        [Display(Name = "网站关键字")]  
        [StringLength(250)] 
        public string Keywords { get; set; }

        /// <summary>
        /// 是否开放
        /// </summary> 
        [Display(Name = "是否开放")]
        public bool IsOpen { get; set; }

        /// <summary>
        /// 关闭原因
        /// </summary> 
        [Display(Name = "关闭原因")]
        [StringLength(250)] 
        public string ClosedReason { get; set; }

        /// <summary>
        /// 热闹搜索关键词
        /// </summary> 
        [Display(Name = "热闹搜索关键词")]
        [StringLength(250)] 
        public string SearchWords { get; set; }

        /// <summary>
        /// 商品默认图片
        /// </summary> 
        [Display(Name = "商品默认图片")]
        public string DefGoodsImg { get; set; }

        /// <summary>
        /// 店铺默认标志
        /// </summary>  
        [Display(Name = "店铺默认标志")]
        public string DefShopImg { get; set; }

        /// <summary>
        /// 会员默认头像
        /// </summary> 
        [Display(Name = "会员默认头像")]
        public string DefUserImg { get; set; }
    }
}
